package ar.com.personalTravellers.daos;

import ar.com.personalTravellers.beans.Continent;
import ar.com.personalTravellers.beans.Country;
import com.angel.arquitectura.model.objectId.ObjectId;
import com.angel.dao.generic.interfaces.GenericDAO;

import java.util.Collection;

/**
 *
 * @author William
 */
public interface CountryDAO extends GenericDAO<Country, ObjectId> {

    public Country findUniqueByName(String name);

    public Country findUniqueByLocale(String locale);

    public Collection<Country> findAllByContinent(Continent continent);
}